<?php

namespace app\install\service\install\observer;

use app\common\util\base\BaseObserver;
use app\common\util\base\BaseServer;

class CreateLockFileObserver extends BaseObserver
{

    public function handle(BaseServer $server = null)
    {
        file_put_contents(public_path().'install.lock', true);
        return true;
    }
}